package com.bwie.orders.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 这是一个秒杀订单表
 * 
 * @author ÕÔË«Ò¶
 * @email 1535715783@qq.com
 * @date 2022-02-22 11:00:00
 */
@Data
@TableName("miaosha_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long orderId;
	/**
	 * 
	 */
	private Long userId;
	/**
	 * 
	 */
	private Long actId;
	/**
	 * 
	 */
	private Long goodsId;
	/**
	 * 
	 */
	private Long deliveryAddrId;
	/**
	 * 
	 */
	private String goodsName;
	/**
	 * 
	 */
	private Integer goodsCount;
	/**
	 * 
	 */
	private BigDecimal goodsPrice;
	/**
	 * 
	 */
	private Integer goodsChannel;
	/**
	 * 
	 */
	private Integer status;
	/**
	 * 
	 */
	private Date createDate;
	/**
	 * 
	 */
	private Date payDate;

	private String sorder;

}
